package com.example.Service;

import com.atguigu.model.system.SysMenu;
import com.atguigu.model.system.SysRole;
import com.atguigu.vo.system.AssginMenuVo;
import com.atguigu.vo.system.RouterVo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface SysMenuService extends IService<SysMenu> {
    List<SysMenu> getlist();

    void delete(Integer id);

    List<SysMenu> getlistByRoleId(Integer roleId);

    void doassign(AssginMenuVo assiginMenuVo);

    List<RouterVo> getUserMenulist(Long userId);

    List<String> getbuttonList(Long userId);
}
